package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物料借用单明细对象 wms_borrow_details
 * 
 * @author ruoyi
 * @date 2021-11-05
 */
public class WmsBorrowDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String borrowDetailUuid;

    /** 借用单ID */
    @Excel(name = "借用单ID")
    private String fkBorrowUuid;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 物料表ID */
    @Excel(name = "物料表ID")
    private String fkItemUuid;

    /** 借用数量 */
    @Excel(name = "借用数量")
    private BigDecimal borrowQty;

    /** 计量单位（字典表） */
    @Excel(name = "计量单位", readConverterExp = "字=典表")
    private String wmsDictMeasuringUnit;

    public void setBorrowDetailUuid(String borrowDetailUuid) 
    {
        this.borrowDetailUuid = borrowDetailUuid;
    }

    public String getBorrowDetailUuid() 
    {
        return borrowDetailUuid;
    }
    public void setFkBorrowUuid(String fkBorrowUuid) 
    {
        this.fkBorrowUuid = fkBorrowUuid;
    }

    public String getFkBorrowUuid() 
    {
        return fkBorrowUuid;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setFkItemUuid(String fkItemUuid) 
    {
        this.fkItemUuid = fkItemUuid;
    }

    public String getFkItemUuid() 
    {
        return fkItemUuid;
    }
    public void setBorrowQty(BigDecimal borrowQty) 
    {
        this.borrowQty = borrowQty;
    }

    public BigDecimal getBorrowQty() 
    {
        return borrowQty;
    }
    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) 
    {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public String getWmsDictMeasuringUnit() 
    {
        return wmsDictMeasuringUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("borrowDetailUuid", getBorrowDetailUuid())
            .append("fkBorrowUuid", getFkBorrowUuid())
            .append("orderNum", getOrderNum())
            .append("fkItemUuid", getFkItemUuid())
            .append("borrowQty", getBorrowQty())
            .append("wmsDictMeasuringUnit", getWmsDictMeasuringUnit())
            .toString();
    }
}
